package com.babyqiao.wallpaper.common.ordervo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.util.Date;

/**
 * 用户信息vo类（创建订单用）
 *
 * @author QLZ
 * @date 2020/12/29
 */
public class WallpaperUserVo {
    /**
     * 用户ID
     */
    private String id;
    /**
     * 微信openId
     */
    private String openid;

    /**
     * username 用户名
     */
    private String username;

    /**
     * password 密码
     */
    private String password;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * gender 性别
     */

    private Integer gender;

    /**
     * age 年龄
     */
    private Integer age;

    /**
     * avatar 头像
     */
    private String avatar;

    /**
     * gmt_create 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    /**
     * gmt_modified 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    /**
     * disabled 禁用标识
     */
    private Integer disabled;

    /**
     * deleted 逻辑删除
     */
    @TableLogic
    private Integer deleted;

    /**
     * 是否邮件激活
     */

    private Integer emailActivation;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOpenId() {
        return openid;
    }

    public void setOpenId(String openId) {
        this.openid = openId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;

    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Integer getDisabled() {
        return disabled;
    }

    public void setDisabled(Integer disabled) {
        this.disabled = disabled;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getEmailActivation() {
        return emailActivation;
    }

    public void setEmailActivation(Integer emailActivation) {
        this.emailActivation = emailActivation;
    }


    @Override
    public String toString() {
        return "WallpaperUser{" +
                "id='" + id + '\'' +
                ", openid='" + openid + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", gender=" + gender +
                ", age=" + age +
                ", avatar='" + avatar + '\'' +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                ", disabled=" + disabled +
                ", deleted=" + deleted +
                ", emailActivation=" + emailActivation +
                '}';
    }
}
